<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <title>寻医问药网</title>
    <!-- Bootstrap core CSS -->
    <link href="{{asset('/bootstrap.min.css')}}" rel="stylesheet">
    <link rel="stylesheet" href="{{asset('/bootstrap-theme.min.css')}}">
    <script src="{{asset('/jquery.js')}}"></script>
</head>
<body>
<div style="height:100%;width:100%;position:fixed;z-index: -20"><img src="{{asset('/bg2.jpg')}}" style="height:100%;width:100%;"></div>
<div class="con-header">
    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <a href="javascript:;" class="navbar-brand">寻医问药网</a>
            </div>
        </div>
    </nav>
</div>
<div style="height:50px;"></div>
<div class="con-body">
    <div class="banner">
        @if(session('__Ajax_RedirectFunc_status') == true)
            <div>
                <div class="alert alert-success alert-dismissible fade in" role="alert">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <h3>成功</h3>
                    <p><?php echo session('__Ajax_RedirectFunc_message');?></p>
                    <p><?php echo session('__Ajax_RedirectFunc_plugin');?></p>
                </div>
            </div>
        @endif
        @if(session('__Ajax_RedirectFunc_status') === false)
            <div >
                <div class="alert alert-danger alert-dismissible fade in" role="alert">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <h3>失败</h3>
                    <p><?php echo session('__Ajax_RedirectFunc_message');?></p>
                    <p><?php echo session('__Ajax_RedirectFunc_plugin');?></p>
                </div>
            </div>
        @endif
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-md-offset-2" style="height:740px;">
                    <div style="height:150px;"></div>
                    <p class="lead" style="font-size:65px;color:white;text-align:center;">寻医问药网</p>
                    <br>
                    <br>
                    <div class="col-sm-8 col-sm-offset-2">
                        <div class="panel panel-default">
                            <div class="panel-body">
                                <h2 style="text-align:center">登陆</h2>
                                <hr/>
                                <form  method="post" action="/_businessLogin">
                                    <input type="hidden" name="_token" value="{{csrf_token()}}">
                                    <div class="form-group">
                                        <label>手机号</label>
                                        <input type="number" class="form-control" name="business_phone" placeholder="手机号" >
                                    </div>
                                    <div class="form-group">
                                        <label>密码</label>
                                        <input type="password" class="form-control" name="business_password" placeholder="密码">
                                    </div>
                                    <button type="submit" class="btn btn-primary btn-block">登录</button>
                                </form>
                                <br>
                                <a href="/businessRegister" class="btn btn-default btn-block">注册成为商家</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
